<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<!--侧边栏-->
<th:block th:fragment="siedBar">
    <nav class="col-md-2 d-none d-md-block bg-light sidebar">
        <div class="sidebar-sticky">
            <ul class="nav flex-column">
                <li class="nav-item my-li">
                    <a class="nav-link" th:href="@{/index}">
                        <span data-feather="home"></span>
                        首页 <span class="sr-only">(current)</span>
                    </a>
                </li>
                <li class="nav-item my-li">
                    <a class="nav-link" th:href="@{/goodstype}">
                        <span data-feather="file"></span>
                        商品分类管理
                    </a>
                </li>
                <li class="nav-item my-li">
                    <a class="nav-link" th:href="@{/goods}">
                        <span data-feather="file"></span>
                        商品管理
                    </a>
                </li>
                <li class="nav-item my-li">
                    <a class="nav-link" th:href="@{/user}">
                        <span data-feather="bar-chart-2"></span>
                        用户管理
                    </a>
                </li>
                <li class="nav-item my-li">
                    <a class="nav-link" th:href="@{/orders}">
                        <span data-feather="shopping-cart"></span>
                        订单管理
                    </a>
                </li>
            </ul>
        </div>
    </nav>
</th:block>

</html>